package me.spring.cloud.components.starter.oauth2.url.properties;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @description: 忽略权限认证配置
 * @author: luffy
 * @create: 2018-09-30 13:34
 **/
@Data
@ConfigurationProperties(prefix = "security.ignore")
public class IgnoreUrlProperties implements Serializable {

  /** 是否开启url忽略登录认证及鉴权*/
  private boolean enable = false;

  /** url忽略登录认证及鉴权list */
  private List<String> urls = Collections.emptyList();
}
